/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.javafxcodegenerators.helpergenerators;

import pl.edu.amu.wmi.kino.visualjavafx.model.animation.transformations.Showable;

/**
 *
 * @author Admin
 */
public class VisibleGenerator {
    public static String visible="visibleParam";
    
    public static void generateVisibleVar(StringBuilder sb,Showable o,int recursionLevel){
        sb.append("var "+visible+recursionLevel+"="+o.getVisibility()+";\n");
    }

    public static void generateVisibleAttribute(StringBuilder sb,int recursionLevel){
        sb.append("visible:bind "+visible+recursionLevel+";\n");
    }
   
}
